<%@taglib uri="/struts-tags" prefix="s"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>

<table border="0"><s:form theme="simple" action="propertySearch">
		<tr>

			<td ><span style="{font-size:15px;border:1px solid; border-color:#b2d281; }">Property Type:</span></td>
			<td >Price Range:</td>
			<td >Bedroom:</td>
			<td >City:</td>

		

		</tr>
		<tr>

			<td ><s:select 
					headerValue="- Property Type -" headerKey="0"
					list="#application.propertyTypes"   listValue="name" listKey="id" /></td>
			<td><s:select name="priceRange" headerValue="--- Price Range ---" headerKey="0" list="#application.priceRange"   
				listValue="range" listKey="id"/></td>
				<td><s:select name="bedrooms" headerValue="--- Bedrooms ---" headerKey="0" list="#application.bedrooms"   
					listValue="name" listKey="id"/>
				</td>
			<td ><s:select name="city"
						headerValue="--- Select City ---" headerKey="0"
						list="#application.city"   listValue="name" listKey="id"
						value="%{city}" /></td>


			
		</tr>
		<tr>
			<td colspan="2">
			<table border="0px" cellpadding="0" cellspacing="0">
				<tr>
					<td >Property To :</td>
					<td ><s:radio name="propertyTo" list="#{'2':'Buy','3':'Rent'}"  /></td>
					
				</tr>
				<tr>
				<td  valign="middle">Posted By :</td><td><s:radio name="postedBy" list="#{'1':'Owner','2':'Dealer','3':'Builder'}"  /></td>
					
				</tr>
			</table>
			</td>
			<td colspan="2"><s:submit value="Submit" /></td>
		</tr>
</s:form>	</table>
